﻿package com.projects.xenia;

import com.projects.xenia.global_modules.MainGlobalModule;

import android.os.Bundle;
import android.preference.PreferenceActivity;;

public class MainSettingsActivity extends PreferenceActivity {
	
	@Override
	public void onCreate (Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		 MainGlobalModule.SettingsCollection_GetSettings();
		 addPreferencesFromResource(R.xml.settings);		
	}

	@Override
	public void onBackPressed() {
		// TODO Auto-generated method stub
		super.onBackPressed();
		MainGlobalModule.SettingsCollection_SaveSettings();
	}
}
